package cn.ssm.pojo;

/**
 * 座位表
 * 
 * @author 朱海松
 *
 */
public class Seat {
	private int id;// 座位编号
	private int seatIsActiveId;// 座位状态编号 默认为1、可定
	private int hallId;// 影厅编号
	private int row;// 座位行
	private int line;// 位列

	public Seat() {

	}

	public Seat(int id, int seatIsActiveId, int scheduleId, int row, int line) {
		super();
		this.id = id;
		this.seatIsActiveId = seatIsActiveId;
		this.hallId = scheduleId;
		this.row = row;
		this.line = line;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getSeatIsActiveId() {
		return seatIsActiveId;
	}

	public void setSeatIsActiveId(int seatIsActiveId) {
		this.seatIsActiveId = seatIsActiveId;
	}

	public int getHallId() {
		return hallId;
	}

	public void setHallId(int hallId) {
		this.hallId = hallId;
	}

	public int getRow() {
		return row;
	}

	public void setRow(int row) {
		this.row = row;
	}

	public int getLine() {
		return line;
	}

	public void setLine(int line) {
		this.line = line;
	}

	@Override
	public String toString() {
		return "Seat [id=" + id + ", seatIsActiveId=" + seatIsActiveId + ", hallId=" + hallId + ", row=" + row
				+ ", line=" + line + "]";
	}

}
